package com.example.pay.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("member_package_item")
public class MemberPackageItem {
    @TableId(value = "item_id", type = IdType.AUTO)
    private Long itemId;

    private Long configId;
    private Integer timePeriod;
    private String periodUnit; // DAY/MONTH/YEAR
    private BigDecimal originalPrice;
    private BigDecimal currentPrice;
    private String itemDesc;
    private String remark;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer state = 1; // 0无效 1有效
}